package net.maku.express.biza.controller.orderlist.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
import javax.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Author wenyignying'
 * @Description:
 * @Date
 */
@Schema(description = "查询")
@Data
public class OrderListSelectRequestVO extends OrderListBaseRequestVO{
    /**
     * id
     */
    @Schema(description = "客户")
    private Integer customId;

    /**
     * 客服id
     */
    @Schema(description = "客服")
    private Integer businessId;
    /**
     * 业务员
     */
    @Schema(description = "业务员")
    private Integer salesId;

    /**
     * 订单状态
     */
    @Schema(description = "订单状态")
    private Integer orderState;

    /**
     * 业务类型:1:空运,2:海运
     */
    @Schema(description = "出运方式:1:空运,2:海运")
    private Integer businessState;

    @Schema(description = "订单来源")
    private String orderOrigin;

    /**
     * 订单号
     */
    @TableField(value = "订单号")
    private String orderNo;

    /**
     * 始发港口
     */
    @Schema(description = " 始发港口")
    private Integer originId;

    /**
     * 目的港口
     */
    @Schema(description = "目的港口")
    private Integer destId;

    /**
     * 航班日期
     */
    @Schema(description = "航班日期开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date airlineDateStart;

    @Schema(description = "航班日期结束包")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date airlineDateEnd;

    /**
     * 交货日期
     */
    @Schema(description = "交货日期开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deliveryDateStart;

    @Schema(description = "交货日期结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deliveryDateEnd;

    /**
     * 入仓日期
     */
    @Schema(description = "入仓日期开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date hourseDateStart;

    @Schema(description = "入仓日期结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date hourseDateEnd;

    @Schema(description = "操作日期开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeStart;


    @Schema(description = "操作日期结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeEnd;

    @Schema(description = "收据单号")
    private String collectNo;

    @Schema(description = "箱子编号")
    private String boxNo;


}
